 
// Problem: ABC427A - ABC -> AC
 
#include <bits/stdc++.h>
using namespace std;
int n;

int main() {
  string s;
  cin >> s;

  n = s.size();
  for (int i = 0; i < n; ++i) {
    if (i != n / 2) {
      cout << s[i];
    }
  }

  return 0;
}